#! /usr/bin/expect
spawn su root
expect “*password:”
send Swq931020\r
expect eof
exit